<a class="btn btn-default pull-right" ng-href="#/document/upload">Upload Document</a>
<h3>My Documents</h3>
<p>These documents are also available to you in the Foxit Reader, under the "Foxit Cloud" tab.</p>
<table class="table table-striped table-hover form-table odTable" style="margin-top: 20px;table-layout: fixed;min-width:1000px;"><thead>
<tr><th style="width:40px;">#</th><th>Name</th><th style="width:140px;"></th></tr>
</thead>
	<tbody>
	<tr ng-repeat="document in documents">
		<td>{{page * $index + 1}}</td>
		<td style="white-space:nowrap;width:100%;text-overflow: ellipsis; overflow:hidden;"><a ng-href="#/document/preview/{{document.doc_id}}">{{document.name}}</a></td>
		<td>
			<div class="btn-group">
				<button class="btn-default btn-xs btn dropdown-toggle" href="#" data-toggle="dropdown">Actions <span class="caret"></span></button>
				<ul class="dropdown-menu" style="min-width:120px;">
					<li><a ng-href="#/document/web-link/{{document.doc_id}}"><span class="glyphicon glyphicon-share" title="Web Link"></span> Web Link</a></li>
					<li><a ng-href="#/document/secure-send/{{document.doc_id}}"><span class="glyphicon glyphicon-share" title="Secure Send"></span> Secure Send</a></li>
					<li><a ng-href="#/document/preview/{{document.doc_id}}"><span class="glyphicon glyphicon-eye-open" title="View"></span> View</a></li>
					<li><a ng-href="#/document/detail/{{document.doc_id}}"><span class="glyphicon glyphicon-pencil" title="Detail"></span> Detail</a></li>
					<li><a href="" ng-click="download(document.doc_id)"><span class="glyphicon glyphicon-download-alt" title="Download"></span> Download</a></li>
					<li><a href="" class="delete-document" ng-click="delete(document)"><span class="glyphicon glyphicon-remove" title="Delete"></span> Delete</a></li>
				</ul>
			</div>
		</td>
	</tr>
	</tbody>
</table>
<nav>
	<ul class="pager">
		<li ng-class="{'disabled':!isHasPrevious()}" ng-show="isHasPrevious()"><a ng-href="#/documents/{{page-1}}">Previous</a></li>
		<li ng-class="{'disabled':!isHasNext()}" ng-show="isHasNext()"><a ng-href="#/documents/{{page+1}}">Next</a></li>
	</ul>
</nav>